return (round((the scroll of the target / the textHeight of the target) + (((the clickV - top of the target - topMargin) div the textHeight of the target) + 1)))
end scrollLineClicked
function lineClicked topMargin
return ((the clickV - top of the target - topMargin) div the textHeight of the target) + 1